﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SocialList.ascx.cs"
    Inherits="Framework.Portal.Layouts.Admin.Components.Teenio.Workflow.SocialList" %>
<asp:UpdatePanel ID="upanelGridUser" runat="server" UpdateMode="Conditional" RenderMode="Inline">
    <ContentTemplate>
        <table class="content" cellspacing="1" cellpadding="0" width="100%">
            <tr>        
                <td class="header1" align="left" colspan="5">
                    <asp:Label ID="lblCommandName" runat="server"></asp:Label>
                </td>
            </tr>    
            <tr>
                <td class="header2" align="left" valign="top" colspan="5" height="21">
                    <asp:Label id="lblUpdateStatus" runat="server" ForeColor="Blue" Font-Bold="True"></asp:Label></td>
            </tr>
            <tr>
                <td class="postheader" align="left" valign="top" colspan="5">                    
                    <asp:CheckBox ID="chkTinluutru" runat="server" Text="Lưu trữ" AutoPostBack="true" OnCheckedChanged="chkTinluutru_CheckedChanged" />
                </td>
            </tr>
            <tr>               
                <td class="header2" align="center" width="3%">
                    #
                </td>
                <td class="header2" align="center" width="40%">
                    <NS:Label ID="Label1" runat="server" LocalizedPage="TABLECAPTION" LocalizedTag="NAME" />
                </td>
                <td class="header2" align="center" width="44%">
                    <NS:Label ID="Label2" runat="server" LocalizedPage="TABLECAPTION" LocalizedTag="DESCRIPTION" />
                </td>
                <td class="header2" align="center" width="10%">
                    <NS:Label ID="Label3" runat="server" LocalizedPage="TABLECAPTION" LocalizedTag="ACTION" />
                </td>
            </tr>
            <asp:Repeater ID="dtgUsers" runat="server" OnItemCommand="dtgUsers_ItemCommand" OnItemDataBound="dtgUsers_ItemDataBound">
                <ItemTemplate>
                    <tr>                        
                        <td class="post" align="left">
                            <asp:Label ID="lblSTT" runat="server"></asp:Label>
                        </td>
                        <td class="post" align="left">
                            <asp:Label ID="lblEMAIL" runat="server"></asp:Label>
                        </td>
                        <td class="post" align="left">
                            <asp:Label ID="lblCONTENT" runat="server"></asp:Label>
                        </td>
                        <td class="post" align="left">
                            <NS:ImageButton LocalizedPage="IMAGEACTION" LocalizedTag="UNPUBLISH24" ID="btnImgManageProfile" runat="server" CommandArgument='<%# Eval("COMMENT_ID") %>' CommandName="publish" ToolTip="Đăng tải" />
                        </td>
                    </tr>
                </ItemTemplate>
                <AlternatingItemTemplate>
                    <tr>                        
                        <td class="postheader" align="left">
                            <asp:Label ID="lblSTT" runat="server"></asp:Label>
                        </td>
                        <td class="postheader" align="left">
                            <asp:Label ID="lblEMAIL" runat="server"></asp:Label>
                        </td>
                        <td class="postheader" align="left">
                            <asp:Label ID="lblCONTENT" runat="server"></asp:Label>
                        </td>
                        <td class="postheader" align="left">
                            <NS:ImageButton LocalizedPage="IMAGEACTION" LocalizedTag="UNPUBLISH24" ID="btnImgManageProfile" runat="server" CommandArgument='<%# Eval("COMMENT_ID") %>' CommandName="publish" ToolTip="Đăng tải" />
                        </td>
                    </tr>
                </AlternatingItemTemplate>
            </asp:Repeater>  
            <tr>
                <td class="footer" colspan="6">
                    &nbsp;
                </td>
            </tr>         
        </table>
    </ContentTemplate>
</asp:UpdatePanel>
